package com.zyl.log.jul;

import java.util.logging.Level;
import java.util.logging.Logger;

public class JulClass {
    private static final Logger logger = Logger.getLogger(JulClass.class.getName());

    public static void main(String[] args) {
        logger.info("info");
        //占位符的方式
        logger.log(Level.INFO,"用户的id :{0}", new Object[]{1});
    }
}
